<table>
  <tr>
    <th>Бүтээгдэхүүн</th>
    <th>Хэмжээ</th>
  </tr>

<?php if (isset($cart)):?>
	<?php foreach ($cart->items as $item) : ?>
	<tr>
		<td><?php echo $item->product->name; ?></td>
		<td><?php echo $item->quantity;?></td>
	</tr>
	<?php endforeach;?>
<?php endif;?>
</table>
<center>
<?php echo CHtml::ajaxLink('хоослох', 
	array('emptycart'), 
	array('update'=>'#buy'));
?>
</center>